package org.bot.server.flow.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 沧月
 * @create 0021 2023/9/21 11:42
 * @description <description class purpose>
 */
@Data
@TableName("bot_flow")
public class BotFlow implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("flow_name")
    private String flowName;

    @TableField("x6_json")
    private String x6JSON;

    @TableField("bot_json")
    private String botJSON;

    @TableField("client_id")
    private Integer clientId;

    @TableField(value = "creation_date")
    private Date creationDate;

    private Integer status;

    private String cron;

    @TableField("flow_type")
    private Integer flowType;
}
